package com.marvels.product.param.dao;

import java.util.List;
import java.util.Map;

import com.marvels.common.exception.MarvelsBusinessException;
import com.marvels.product.param.dto.McptPlatformFeeDTO;
import com.marvels.product.param.dto.McptProduct;

public interface McptPlatformFeeMapper {

    int deleteByPrimaryKey(McptPlatformFeeDTO record);

    int insert(McptPlatformFeeDTO record);

    McptPlatformFeeDTO selectByPrimaryKey(Long platformFeeId);

    int updateByPrimaryKey(McptPlatformFeeDTO record);

	List<McptPlatformFeeDTO> getListByParam(Map<String, Object> param);

	int updateStatus(McptPlatformFeeDTO dto);
	
	/**根据小类平台费code查询平台费
	 * @author 娄凯琦
	 * @date 2018年5月9日  
	 * @param dto
	 * @return
	 * @throws MarvelsBusinessException
	 */
	public McptPlatformFeeDTO selectPlatformFeeByPlatformFeeCode(McptProduct dto) throws MarvelsBusinessException;
}